Skip to content

status: six UnitsState lines that read 100% - #538

Merged
gynt merged 1 commit into
sourcehold:mainfrom
kotijekriv:reimpl/units-A-unitsstate-status-100
Dec 1, 2026
Merged

gynt merged 1 commit into
sourcehold:mainfrom
kotijekriv:reimpl/units-A-unitsstate-status-100

Conversation

@kotijekriv

Copy link
Copy Markdown
Contributor

Status lines only: six UnitsState functions read 100.0% / 100.0% on main (reccmp raw / normalised) while their lines still have an older number. No code changes. The bodies are gynt's, on main since #238.

Function Address Old line New line
updateMicroPosition 0x00534030 91.3% | Asm differs 100.0% | Reimplemented
findNearestShootableDeer 0x00537880 98.9% | Asm differs 100.0% | Reimplemented
findClosestAnimalStoreResult 0x00537AA0 72.1% | Style pass, asm differs 100.0% | Reimplemented
findClosestEnemyByAreaAndRange 0x00537C10 85.9% | Asm differs 100.0% | Reimplemented
commitMimmicLocation 0x0053E9F0 79.0% | Asm differs 100.0% | Reimplemented
handleUnitMovementWhenTargetingBuildings 0x0054C4F0 86.2% | Style pass, asm differs 100.0% | Reimplemented

gynt's commits of 28 November on #238's branch already call them 100% (3780737, b5fcd33, edbf301, 1d41021, db1ef87, 24ab35f); only the lines in the status file didn't follow.

Measured:

Checks: the style checks report 6 errors, all "status line ... but no changed .cpp has that // FUNCTION: line", as expected for a change of status lines only, and no notes.

🤖 Generated with Claude Code

commitMimmicLocation 0x0053E9F0, findClosestAnimalStoreResult 0x00537AA0, findClosestEnemyByAreaAndRange 0x00537C10,
findNearestShootableDeer 0x00537880, handleUnitMovementWhenTargetingBuildings 0x0054C4F0 and updateMicroPosition
0x00534030 read 100.0 / 100.0 (reccmp raw / normalised) on main; their lines still had older numbers (72.1% to 98.9%). No
code changes. The bodies are gynt's, on main since sourcehold#238.

Builds (bundled MSVC1400-SP1, function and data resolvers on locally): full builds of main 830fbd5 with
OPENSHC_FUNCTION_VISIBILITY_UNITS off and on (3,036 files), a small build of it with the option off (542 files), and
small builds of main 4591b6f with six other UnitsState functions changed, off and on (549 files). None of the six
.cpp files differs between the two mains.

Co-authored-by: Gynt <gynt@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gynt
gynt added this pull request to the merge queue Dec 1, 2026
Merged via the queue into sourcehold:main with commit 0cea04d Dec 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants